Optimal. Leaf size=148 \[ -\frac{a^2 (a+3 b) \coth (c+d x)}{d}-\frac{a^3 \coth ^5(c+d x)}{5 d}+\frac{2 a^3 \coth ^3(c+d x)}{3 d}+\frac{b^2 (24 a+11 b) \sinh (c+d x) \cosh (c+d x)}{16 d}-\frac{1}{16} b^2 x (24 a+5 b)+\frac{b^3 \sinh (c+d x) \cosh ^5(c+d x)}{6 d}-\frac{13 b^3 \sinh (c+d x) \cosh ^3(c+d x)}{24 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.355256, antiderivative size = 148, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217, Rules used = {3217, 1259, 1805, 1802, 207} \[ -\frac{a^2 (a+3 b) \coth (c+d x)}{d}-\frac{a^3 \coth ^5(c+d x)}{5 d}+\frac{2 a^3 \coth ^3(c+d x)}{3 d}+\frac{b^2 (24 a+11 b) \sinh (c+d x) \cosh (c+d x)}{16 d}-\frac{1}{16} b^2 x (24 a+5 b)+\frac{b^3 \sinh (c+d x) \cosh ^5(c+d x)}{6 d}-\frac{13 b^3 \sinh (c+d x) \cosh ^3(c+d x)}{24 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3217
Rule 1259
Rule 1805
Rule 1802
Rule 207
Rubi steps
\begin{align*} \int \text{csch}^6(c+d x) \left (a+b \sinh ^4(c+d x)\right )^3 \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (a-2 a x^2+(a+b) x^4\right )^3}{x^6 \left (1-x^2\right )^4} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac{\operatorname{Subst}\left (\int \frac{-6 a^3+30 a^3 x^2-6 a^2 (10 a+3 b) x^4+\left (60 a^3+54 a^2 b+b^3\right ) x^6-6 (5 a-b) (a+b)^2 x^8+6 (a+b)^3 x^{10}}{x^6 \left (1-x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{6 d}\\ &=-\frac{13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}+\frac{\operatorname{Subst}\left (\int \frac{24 a^3-96 a^3 x^2+72 a^2 (2 a+b) x^4-3 \left (32 a^3+48 a^2 b-3 b^3\right ) x^6+24 (a+b)^3 x^8}{x^6 \left (1-x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{24 d}\\ &=\frac{b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac{13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac{\operatorname{Subst}\left (\int \frac{-48 a^3+144 a^3 x^2-144 a^2 (a+b) x^4+3 \left (16 a^3+48 a^2 b+24 a b^2+5 b^3\right ) x^6}{x^6 \left (1-x^2\right )} \, dx,x,\tanh (c+d x)\right )}{48 d}\\ &=\frac{b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac{13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac{\operatorname{Subst}\left (\int \left (-\frac{48 a^3}{x^6}+\frac{96 a^3}{x^4}-\frac{48 a^2 (a+3 b)}{x^2}-\frac{3 b^2 (24 a+5 b)}{-1+x^2}\right ) \, dx,x,\tanh (c+d x)\right )}{48 d}\\ &=-\frac{a^2 (a+3 b) \coth (c+d x)}{d}+\frac{2 a^3 \coth ^3(c+d x)}{3 d}-\frac{a^3 \coth ^5(c+d x)}{5 d}+\frac{b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac{13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}+\frac{\left (b^2 (24 a+5 b)\right ) \operatorname{Subst}\left (\int \frac{1}{-1+x^2} \, dx,x,\tanh (c+d x)\right )}{16 d}\\ &=-\frac{1}{16} b^2 (24 a+5 b) x-\frac{a^2 (a+3 b) \coth (c+d x)}{d}+\frac{2 a^3 \coth ^3(c+d x)}{3 d}-\frac{a^3 \coth ^5(c+d x)}{5 d}+\frac{b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac{13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac{b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}\\ \end{align*}
Mathematica [A] time = 1.15998, size = 110, normalized size = 0.74 \[ \frac{5 b^2 (9 (16 a+5 b) \sinh (2 (c+d x))-288 a c-288 a d x-9 b \sinh (4 (c+d x))+b \sinh (6 (c+d x))-60 b c-60 b d x)-64 a^2 \coth (c+d x) \left (3 a \text{csch}^4(c+d x)-4 a \text{csch}^2(c+d x)+8 a+45 b\right )}{960 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 126, normalized size = 0.9 \begin{align*}{\frac{1}{d} \left ({a}^{3} \left ( -{\frac{8}{15}}-{\frac{ \left ({\rm csch} \left (dx+c\right ) \right ) ^{4}}{5}}+{\frac{4\, \left ({\rm csch} \left (dx+c\right ) \right ) ^{2}}{15}} \right ){\rm coth} \left (dx+c\right )-3\,{a}^{2}b{\rm coth} \left (dx+c\right )+3\,a{b}^{2} \left ( 1/2\,\cosh \left ( dx+c \right ) \sinh \left ( dx+c \right ) -1/2\,dx-c/2 \right ) +{b}^{3} \left ( \left ({\frac{ \left ( \sinh \left ( dx+c \right ) \right ) ^{5}}{6}}-{\frac{5\, \left ( \sinh \left ( dx+c \right ) \right ) ^{3}}{24}}+{\frac{5\,\sinh \left ( dx+c \right ) }{16}} \right ) \cosh \left ( dx+c \right ) -{\frac{5\,dx}{16}}-{\frac{5\,c}{16}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.06571, size = 485, normalized size = 3.28 \begin{align*} -\frac{3}{8} \, a b^{2}{\left (4 \, x - \frac{e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac{e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} - \frac{1}{384} \, b^{3}{\left (\frac{{\left (9 \, e^{\left (-2 \, d x - 2 \, c\right )} - 45 \, e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )} e^{\left (6 \, d x + 6 \, c\right )}}{d} + \frac{120 \,{\left (d x + c\right )}}{d} + \frac{45 \, e^{\left (-2 \, d x - 2 \, c\right )} - 9 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )}}{d}\right )} - \frac{16}{15} \, a^{3}{\left (\frac{5 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d{\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}} - \frac{10 \, e^{\left (-4 \, d x - 4 \, c\right )}}{d{\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}} - \frac{1}{d{\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}}\right )} + \frac{6 \, a^{2} b}{d{\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.5227, size = 2006, normalized size = 13.55 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.70671, size = 414, normalized size = 2.8 \begin{align*} -\frac{{\left (24 \, a b^{2} + 5 \, b^{3}\right )}{\left (d x + c\right )}}{16 \, d} + \frac{{\left (528 \, a b^{2} e^{\left (6 \, d x + 6 \, c\right )} + 110 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} - 144 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 45 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 9 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} - b^{3}\right )} e^{\left (-6 \, d x - 6 \, c\right )}}{384 \, d} + \frac{b^{3} d^{2} e^{\left (6 \, d x + 6 \, c\right )} - 9 \, b^{3} d^{2} e^{\left (4 \, d x + 4 \, c\right )} + 144 \, a b^{2} d^{2} e^{\left (2 \, d x + 2 \, c\right )} + 45 \, b^{3} d^{2} e^{\left (2 \, d x + 2 \, c\right )}}{384 \, d^{3}} - \frac{2 \,{\left (45 \, a^{2} b e^{\left (8 \, d x + 8 \, c\right )} - 180 \, a^{2} b e^{\left (6 \, d x + 6 \, c\right )} + 80 \, a^{3} e^{\left (4 \, d x + 4 \, c\right )} + 270 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} - 40 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - 180 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} + 8 \, a^{3} + 45 \, a^{2} b\right )}}{15 \, d{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]